package jbeagle.core;

public class FitnessChangeEvent {

	protected Population pop;
	protected int currGeneration;
	protected boolean gaFinished;
	
	public FitnessChangeEvent(Population pop, int generation, boolean finished) {
		this.pop = pop;
		currGeneration = generation;
		gaFinished = finished;
	}
	
	public Population getPopulation() {
		return pop;
	}

	public int getCurrentGeneration() {
		return currGeneration;
	}
	
	public boolean isGAFinished() {
		return gaFinished;
	}
	
	
}
